//
//  ActionManager.cpp
//  airfight
//
//  Created by aaron more on 12-9-24.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#include <iostream>
#include "ActionManager.h"

void ActionManager::move(CCNode* pSender, Move *p_move)
{
    
    EnemyFighterSprite  *enemy = (EnemyFighterSprite*)pSender;
    CCPoint _startPoint = enemy->getPosition();
    CCPoint _deltPoint = ccp(10,10);
    
    enemy->setPosition(ccp(_startPoint.x+_deltPoint.x,_startPoint.y+_deltPoint.y));
          
    
}

void ActionManager::bezier(CCNode* pSender,const Move * const p_move)
{
    
}

void ActionManager::test(CCNode* pSender)
{
    EnemyFighterSprite  *enemy = (EnemyFighterSprite*)pSender;
    enemy->setPosition(ccp(200,200));
}